<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html">
		<title>MBluetooth</title>
		<link href="styles.css" rel="stylesheet" type="text/css">
		<link href="styles_class.css" rel="stylesheet" type="text/css">
	</head>

	<body>
		<div id="container">
			<div id="header"><span>
				<p><a href="http://mjs.darkgreenmedia.com">mjs.darkgreenmedia.com</a></p>
				<p><a href="index.html">back</a></p>
				</span>
			</div>

		<div class="block1">
			<div class="title"><h2>Name</h2></div>
			<div class="block2"><p class="name">MBluetooth</p></div>
		</div>

		<div class="block1">
			<div class="title"><h2>Examples</h2></div>
			<div class="block2">
				<div class="sample">
					<pre>
import mjs.processing.mobile.mbluetooth.*;

String name;

void setup()
{
	name = MBluetooth.deviceName();
}

void draw()
{
	textMode(CENTER);
	text(name,width/2,heigth/2);
}
					</pre>
					<br/>
	  			</div>
			</div>
		</div>
  
  
		<div class="block1">
			<div class="title"><h2>Description</h2></div>
			<div class="block2">Basic class to access Bluetooth features.</div>
		</div>


		<div class="block1">
			<div class="title"><h2>Methods</h2></div>
			<div class="block2">
				<ul>
		  			<li><a href="MBluetooth_start.html">start()</a></li>
					<div class="description2">Start the bluetooth service making the device discoverable.</div>
  					<li><a href="MBluetooth_deviceName.html">deviceName()</a></li>
					<div class="description2">Returns the friendly name of the local device.</div>
					<li><a href="MBluetooth_nearDevices.html">nearDevices()</a></li>
					<div class="description2">Returns all the devices near to the local device..</div>
					<li><a href="MBluetooth_selectService.html">selectService()</a></li>
					<div class="description2">Creates a client to the specified service uuid.</div>
					<li><a href="MBluetooth_startService.html">startService()</a></li>
					<div class="description2">Start a service with the uuid specified.</div>
					<li><a href="MBluetooth_selectDefaultService.html">selectDefaultService()</a></li>
					<div class="description2">Creates a client to the Mobile Processing Service if is available.</div>
					<li><a href="MBluetooth_startDefaultService.html">startDefaultService()</a></li>
					<div class="description2">Start the default Mobile Processing Service.</div>
				</ul>
			</div>
		</div>

</div>		
	</body>
</html>
